package com.wyx.pojo.result;

import com.wyx.pojo.ProductBeanResult;
import com.wyx.pojo.SmokeInfoLog;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data
public class CheckInfo {
    private SmokeInfoLog oldInfo;
    private ProductBeanResult newInfo;
    private List<String> diff;

    public CheckInfo(SmokeInfoLog oldInfo, ProductBeanResult newInfo, List<String> diff) {
        this.oldInfo = oldInfo;
        this.newInfo = newInfo;
        this.diff = diff;
    }

    public CheckInfo(SmokeInfoLog oldInfo, ProductBeanResult newInfo) {
        this.oldInfo = oldInfo;
        this.newInfo = newInfo;
    }

    public CheckInfo() {
    }

    public SmokeInfoLog getOldInfo() {
        return oldInfo;
    }

    public void setOldInfo(SmokeInfoLog oldInfo) {
        this.oldInfo = oldInfo;
    }

    public ProductBeanResult getNewInfo() {
        return newInfo;
    }

    public void setNewInfo(ProductBeanResult newInfo) {
        this.newInfo = newInfo;
    }

    public List<String> getDiff() {
        return diff;
    }

    public void setDiff(List<String> diff) {
        this.diff = diff;
    }
}
